<?php
namespace app\backend\validate;

use think\Validate;

class Qualification extends Validate
{

    protected $rule =   [
        'qualification_cn'              => 'require',
    ];

    protected $message  =   [
        'qualification_cn.require'      => '标题格式不正确',
    ];

    protected $scene = [
        'add' => ['qualification_cn','qualification_en'],
        'edit' => ['qualification_cn','qualification_en']
    ];

}


